﻿using WeChat.AspNet.Events;

namespace WeChat.AspNet
{
    /// <summary>
    /// 响应接口，当微信客户端发送请求后，对请求的xml进行解析，会调用对应的事件，响应处理的类需要实现此接口。
    /// </summary>
    public interface IResposeObject
    {
        void OnSubscribe(object sender, SubscribeEventArgs e);

        void OnScan(object sender, ScanEventArgs e);

        void OnReportLocation(object sender, ReportLocationEventArgs e);

        void OnMenuClicked(object sender, MenuClickedEventArgs e);

        void OnTextReceived(object sender, TextReceivedEventArgs e);

        void OnImageReceived(object sender, ImageReceivedEventArgs e);

        void OnLinkReceived(object sender, LinkReceivedEventArgs e);

        void OnLocationReceived(object sender, LocationReceivedEventArgs e);

        void OnVoiceReceived(object sender, VoiceReceivedEventArgs e);

        void OnVideoReceived(object sender, VideoReceivedEventArgs e);
    }
}
